{{extend "systems_layout.html"}}

{{block content_main}}
{{link "tforms.css"}}
{{use "jqutils"}}

<div id="content">
    <div>
        <div class="box">
            <h2>系统功能点详细信息</h2>
            <div class="box-body">
                {{<< view}}
            </div>
        </div>
        <div style="padding:5px;">
        {{if request.user.is_superuser or has_role(request.user, 'sys_manager', system_id=system_id):}}
        <a class="btn btn-green" href="/systems/{{=object.system}}/functions/edit/{{=object.id}}" target="_blank">编辑系统功能信息</a>
        {{pass}}
        {{if request.user.is_superuser or has_role(request.user, 'sys_manager', system_id=system_id):}}
        <a class="btn btn-green" href="/systems/{{=object.system}}/functions/delete/{{=object.id}}" target="_blank">删除系统功能信息</a>
        {{pass}}
        </div>
       
    </div>
</div>
{{end}}
